package com.kxmall.huishou.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 废品回收站信息业务对象 hs_waste_site
 *
 * @author kxmall
 * @date 2023-11-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HsWasteSiteBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 站点名
     */
    @NotBlank(message = "站点名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 站点图片
     */
    @NotBlank(message = "站点图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imgUrl;

    /**
     * 省
     */
    @NotBlank(message = "省不能为空", groups = { AddGroup.class, EditGroup.class })
    private String province;

    /**
     * 市
     */
    @NotBlank(message = "市不能为空", groups = { AddGroup.class, EditGroup.class })
    private String city;

    /**
     * 区县
     */
    @NotBlank(message = "区县不能为空", groups = { AddGroup.class, EditGroup.class })
    private String county;

    /**
     * 详情地址
     */
    @NotBlank(message = "详情地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 负责人
     */
    @NotBlank(message = "负责人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactor;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 经度
     */
    @NotNull(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal longitude;

    /**
     * 维度
     */
    @NotNull(message = "维度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal latitude;


}
